﻿#region Includes
using System;
using System.Collections.Generic;
#endregion

namespace GingerGL.Drawing.MD3
{
    //------------------------------------------------------------//
    /// <summary>
    /// Animation Sequence
    /// </summary>
    public struct AnimationSequence
    {
        //--------------------------------------------------------//
        #region Variables
        public string Name;
        public int StartFrame;
        public int EndFrame;
        public int LoopPoint;
        public float FPS;
        #endregion
        //--------------------------------------------------------//
        #region Methods
        /// <summary>
        /// Name of the Sequence
        /// </summary>
        public override string ToString()
        {
            return Name;
        }
        /// <summary>
        /// == null?
        /// </summary>
        public bool IsNull() { return Name == null; }
        #endregion
        //--------------------------------------------------------//
    }
    //------------------------------------------------------------//
}
